# -*- coding: utf-8 -*-
# @Time : 2023/11/22 16:01
# @Author : 支晓光
# @Email : 1473858993@qq.com
# @File : conftest.py
# @Project : youguuUI
import pytest
from conftest import driver
from pageliaogu.pagecommon.to_first_page import ToFirstPage

package = 'com.jhss.youguu'
activity = '.ui.DesktopActivity'


@pytest.fixture(scope='function',autouse=True)
def go_to_home():
    driver.start_activity(package, activity)